<div class="container clearfix" id="CertInfo">
<?php
if($dataList){
?>
<table class="info" id="Cert-table">
    <colgroup><col width="70">
    <col width="140">
    <col width="320">
    <col width="100">
    </colgroup><thead>
    <tr class="g9">
        <th></th>
        <th>证书名称</th>
        <th></th>
        <th></th>
    </tr>
    </thead>
        <tbody>
        <?php
        foreach($dataList as $data){
            ?>
        <tr class=" " id="tr_Cert_<?=$data['id']?>">
            <td></td>
            <td><?=$data['name']?></td>
            <td></td>
            <td class="padding"> <a onclick="delItem('Cert','<?=$data['id']?>')" href="javascript:void(0);" target="_self" class="icon delete">删除</a></td>
        </tr>
        <?}?>
</tbody></table>

<?}else{?>
    <div class="notfilled">
        <ul class="nodata">
            <li class="think">证书是你能力的最佳证明。有证就要亮出来！&nbsp;&nbsp;<a class="addme thickbox" title="添加证书" href="?c=MyResume&a=CertShow&height=360&width=770&keepThis=true&TB_iframe=true">添加</a></li>
            <li class="create">如果尚未获得证书，建议你先<a class="discard dohide" href="javascript:void(0);" rel="cert" rel2="cert">隐藏</a></li>
        </ul>
    </div>
    <script>$("#cert-section h2 a").hide();</script>
 <?}?>
</div>
